package persistence;

import java.util.Map;
import model.Producto;

public interface ProductoDAO {
    
    public boolean newProduct (Producto product);

    public boolean deleteProduct(String name);

    public Producto readProduct(String name);

    public boolean updateProduct(String name, Producto product);

    public boolean setUp(String url, String driver, String user, String password);

    public boolean disconnect();

    public Map<String, Producto> getProductMap();
}
